package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * 面试掌握情况记录对象 ya_interview_mastery
 *
 * @author ruoyi
 * @date 2024-04-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ya_interview_mastery")
public class InterviewMastery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 沟通得分 */
    @Excel(name = "沟通得分")
    @TableField("communication_score")
    private Integer communicationScore;

    /** 沟通情况，1-有点头,2-有微笑,3-有倾听,4-有回复,5-语调合适,6-语速合适,7-音高合适 */
    @Excel(name = "沟通情况，1-有点头,2-有微笑,3-有倾听,4-有回复,5-语调合适,6-语速合适,7-音高合适")
    @TableField("communication_mastery")
    private String communicationMastery;

    /** 学生id */
    @Excel(name = "学生id")
    @TableField("user_id")
    private Long userId;

    /** 平均得分 */
    @Excel(name = "平均得分")
    @TableField("avg_score")
    private Integer avgScore;

    /** 是否已总结 1-是 0-否 */
    @Excel(name = "是否已总结 1-是 0-否")
    @TableField("summarized")
    private Integer summarized;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("communicationScore", getCommunicationScore())
            .append("communicationMastery", getCommunicationMastery())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("avgScore", getAvgScore())
            .append("summarized", getSummarized())
            .toString();
    }
}
